<template>
  <div>
    <div class="box-1">
      <div class="left">
        <img v-if="item.headPortraitKey" :src="item.headPortraitKey" alt="">
        <img v-else src="@/assets/images/avatar.png" alt="">
        <div class="left-box">
          <p class="top-name">
            <qq>Account</qq>: <b>{{ item.account }}</b>
          </p>
          <div class="top-content">
            {{ item.registrationTime }}
          </div>
        </div>
      </div>
      <div class="btn">
        <img :src="item.vipImg" alt="">
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    props:['item']
  }
</script>

<style scoped lang="scss">
.box-1{
  width: 100%;
  height: 58px;
  background: #FFFFFF;
  border-radius: 10px 10px 10px 10px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  .left{
    width: 80%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    img{
      width: 40px;
      height: 40px;
      border-radius: 100px 100px 100px 100px;
      object-fit: cover;
    }
    .left-box{
      width: 100%;
      height: 50px;
      margin-left: 10px;
      .top-name{
        width: 100%;
        margin-top: 8px;
        font-weight: 400;
        font-size: 14px;
        color: #242B35;

        b{
          font-weight: bold;
          font-size: 14px;
          color: #533DF1;
        }
      }
      .top-content{
        font-weight: 400;
        font-size: 12px;
        color: #A8B3C4;
        margin-top: 5px;
      }
    }
  }
  .btn{
    width: 54px;
    height: 58px;
    background: #533DF1;
    border-radius: 0px 10px 10px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    img{
      height: 40px;
      width: 40px;
      object-fit: cover;
    }
  }
}
</style>